package com.woniuxy.school.dietary.comment.model.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "商家回复用户评论的参数")
public class ReplyCommentFrom {
    @NotNull(message = "回复内容不能为null")
    @ApiModelProperty(value = "回复内容")
    private String content;
    @NotNull(message = "评论编号不能为null")
    @ApiModelProperty(value = "评论编号")
    private Long commentId;

}
